export const wsPointMap = {
  "5-018": {
    index: 67,
    currentComName: "device_3",
  },
  "5-019": {
    index: 68,
    currentComName: "device_3",
  },
  "2-055": {
    index: 5,
    currentComName: "device_7",
  },
  "2-056": {
    index: 6,
    currentComName: "device_7",
  },
  "2-039": {
    index: 57,
    currentComName: "device_7",
  },
  "2-040": {
    index: 56,
    currentComName: "device_7",
  },
  "2-170": {
    index: 3,
    link: [4],
    currentComName: "device_7",
  },
  "2-072": {
    index: 24,
    currentComName: "device_7",
  },
  "2-073": {
    index: 25,
    currentComName: "device_7",
  },
  "2-016": {
    index: 68,
    currentComName: "device_7",
  },
  "2-017": {
    index: 67,
    currentComName: "device_7",
  },
  "2-177": {
    index: 22,
    link: [21],
    currentComName: "device_7",
  },
  "9-040": {
    index: 60,
    currentComName: "device_5",
  },
  "9-046": {
    index: 16,
    currentComName: "device_5",
  },
  "9-165": {
    index: 15,
    link: [14],
    currentComName: "device_5",
  },
  "9-013": {
    index: 71,
    currentComName: "device_5",
  },
  "9-057": {
    index: 28,
    currentComName: "device_5",
  },
  "9-162": {
    index: 58,
    link: [59],
    currentComName: "device_5",
  },
  "1-016": {
    index: 78,
    currentComName: "device_8",
  },
  "1-024": {
    index: 81,
    currentComName: "device_8",
  },
  环控电控室3: {
    index: 18,
    link: [17],
    currentComName: "device_3",
  },
  AFC设备室: {
    index: 25,
    link: [24],
    currentComName: "device_8",
  },
};

export const greenCodes = [0, 4, 5]; //绿色

//ws 消息映射
export const colorMap = {
  0: "green", //正常
  1: "red", //火警
  2: "grey", //故障
  3: "GL", //屏蔽
  4: "green", //监视
  5: "green", //激活
};

//模式映射
export const colorModelMap = {
  0: "grey", //故障
  1: "green", //正常
};
